package org.hlopik.riverGuide.client.controller;

import org.hlopik.riverGuide.client.model.RiverGuideProxy;
import org.puremvc.java.multicore.interfaces.INotification;
import org.puremvc.java.multicore.patterns.command.SimpleCommand;

/**
 *
 * @author f
 */
public class ListRiverGuidesCommand extends SimpleCommand {

    @Override
    public void execute(INotification notification) {
        RiverGuideProxy riverGuideProxy = (RiverGuideProxy) this.getFacade().retrieveProxy(RiverGuideProxy.NAME);
        riverGuideProxy.getRiverGuides();
    }
}
